<%@page import="com.general.genericUtils.BuildExceptionTrace"%>
<%@page import="java.util.List"%>
<%@page import="com.serviceBeans.PlaceMyAd"%>
<%@page import="com.spring.BusinessComponents.DoTransaction"%>
<%@page import="java.io.PrintWriter"%>
<%@page import="org.springframework.context.support.ClassPathXmlApplicationContext"%><%
DoTransaction doTransaction=null;
int startOffset = 0;
try{
ClassPathXmlApplicationContext ctx = (ClassPathXmlApplicationContext)getServletContext().getAttribute("ctx");
doTransaction = (DoTransaction)ctx.getBean("doTransaction");
PlaceMyAd forum = new PlaceMyAd();
List l = doTransaction.loadPlaceMyAdsData(0);
System.out.println(l.size());
request.setAttribute("placeMyAdList", l);
getServletContext().getRequestDispatcher("/WEB-INF/jsp/buildXML4LoadMyAdService.jsp").forward(request, response);
}
catch (Exception e) {
	doTransaction.saveException(com.general.genericUtils.BuildExceptionTrace.buildAndGiveExceptionTrace(e));
}

%>